<?php
namespace catchAdmin\api\request;

use catcher\base\CatchRequest;

class TokenRequest extends CatchRequest
{
    protected $needCreatorId = false;

    protected function rules(): array
    {
        // TODO: Implement rules() method.
        return [
            'merchantId|商户号'   => 'require|alphaNum',
            'sign|签名'  => 'require|alphaNum',
            'timeStamp|时间戳'  => 'require|number|length:10'
        ];
    }

    protected function message(): array
    {
        // TODO: Implement message() method.
        return [];

    }
}
